@charset "UTF-8";
* {
    padding: 0;
    margin: 0;
}

.container {
    width: 1000px;
    margin: 0 auto;
    background-color: #f5f5f5;
}

table {
    width: 95%;
    margin: 0 auto;
}

table thead {
    width: 100%;
    height: 50px;
    background-color: white;
    border-bottom: solid 1px #cccccc;
}

thead tr,
thead td {
    height: 50px;
    line-height: 50px;
    text-align: center;
}

thead tr td:first-of-type {
    text-align: left;
}

table tbody {
    width: 100%;
    background-color: white;
}

tbody img {
    width: 80px;
    height: 80px;
    vertical-align: middle;
    margin-right: 20px;
}

tbody button {
    border: 0;
    background-color: white;
    cursor: pointer;
    outline: none;
}

tbody tr,
tbody td {
    height: 80px;
    line-height: 80px;
    text-align: center;
    border-top: solid 1px #cccccc;
    border-bottom: solid 1px #cccccc;
}

tbody tr td:first-of-type,
tbody tr td:nth-of-type(2) {
    text-align: left;
}

tbody tr td:nth-of-type(2) span {
    margin-right: -100px;
}

tbody tr td:nth-of-type(4) div {
    width: 100px;
    height: 30px;
    display: flex;
    justify-content: space-around;
    line-height: 30px;
    border: solid 1px #e0e0e0;
    margin: 34px auto;
}

tbody tr td:nth-last-of-type(2) {
    color: #fc7433;
}

.formFoot {
    width: 95%;
    height: 45px;
    line-height: 45px;
    color: #878787;
    font-size: 14px;
    background-color: white;
    margin: 5px auto;
}

.formFoot #shopping {
    border: 0;
    color: #878787;
    background-color: white;
    margin-left: 15px;
    cursor: pointer;
}

.formFoot #totalG {
    margin-left: 10px;
    border-left: solid 2px #cccccc;
}

.formFoot #totalG span {
    color: #fc6721;
}

.formFoot #selectedG span {
    color: #fc6721;
}

.formFoot div {
    width: 300px;
    height: 45px;
    color: #fd8249;
    float: right;
}

.formFoot #countMoney {
    font-size: 25px;
    font-weight: bold;
}

.formFoot #payMoney {
    border: 0;
    color: white;
    background-color: #fc6721;
    width: 150px;
    height: 45px;
    cursor: pointer;
    float: right;
}

.goodsList {
    width: 95%;
    margin: 0 auto;
}

.goodsList .gtitle {
    width: 100%;
    height: 80px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.gtitle h2 {
    color: #757575;
    font-weight: normal;
}

.gtitle div {
    width: 300px;
    border-top: solid 1px #cccccc;
}

.goodsList .gbox {
    width: 100%;
    height: 260px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.gbox dl {
    width: 180px;
    height: 250px;
    background-color: white;
}

.gbox dt {
    width: 180px;
    height: 150px;
    text-align: center;
}

.gbox dt img {
    width: 150px;
    height: 150px;
}

.gbox dd {
    width: 180px;
    height: 90px;
    text-align: center;
    position: relative;
}

.gbox dd:hover span {
    display: none;
}

.gbox dd:hover button {
    display: block;
}

.gbox dd p:first-of-type {
    width: 60%;
    height: 20px;
    font-size: 14px;
    color: #333333;
    margin: 0 auto;
    margin-top: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gbox dd p:last-of-type {
    width: 60%;
    height: 20px;
    margin: 0 auto;
    margin-top: 5px;
    color: #fc6721;
    font-size: 14px;
}

.gbox dd span {
    width: 100px;
    height: 20px;
    color: #757575;
    font-size: 14px;
    position: absolute;
    bottom: 20px;
    left: 40px;
    /* display: none; */
}

.gbox dd button {
    width: 100px;
    height: 30px;
    color: white;
    font-weight: bold;
    background-color: #ef5920;
    border: 0;
    position: absolute;
    bottom: 12px;
    left: 40px;
    cursor: pointer;
    display: none;
}